﻿module.exports = {
    lintOnSave: false,
    publicPath: '/xxpt/xxpt-web',
    assetsDir: 'static',
    devServer: {
        port: '8080',
        proxy: {
            '/api': {
                //target: 'http://localhost:8099/xxpt/web',   //代理接口
                //target: 'http://115.29.226.80:8099/xxpt/web',   //代理接口
                //target: 'http://112.124.28.76:8099/xxpt/web',   //代理接口
                //target: 'http://192.168.102.248:8099/xxpt/web',   //代理接口
                  target: 'http://123.56.86.153:8099/xxpt/web',   //代理接口
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '' //代理的路径
                }
            }
        }
    }
}
